package com.acme.bankapp.domain.bank;


public abstract class AbstractAccount implements Account{

	protected int id;
	protected double balance;

	public AbstractAccount(double amount) {
		this.balance = ((amount >=0) ? amount : 0);
	}

	public double getBalance() {
		return this.balance;
	}

	public abstract void withdraw(double amount);
	
	public abstract double maximumAmountToWithdraw();

}
